﻿namespace Web7.Mvc.ViewModels
{
    public class Web7ViewModelPartial<T> : Web7ViewModel
    {
        public Web7ViewModelPartial(Web7ViewModel viewModel, T partialModel)
        {
            SyncViewModel(viewModel);
            PartialModel = partialModel;
        }

        public T PartialModel { get; private set; }
    }
}
